package com.fxc.mybatis.mapper;

import com.fxc.mybatis.entity.Stu;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StuMapper {
    List<Stu> queryAll() throws Exception;

    List<Stu> queryByPage(@Param("startIndex") int startIndex, @Param("count") int count)  throws Exception;
}
